/**
 * 
 */
package util.methods;

/**
 * @author brian
 *
 */
public class MathHelpers 
{
	static public int max ( int a, int b, int c )
	{
		return Math.max( Math.max( a, b ), c );
	}

	static public int max ( int a, int b, int c, int d )
	{
		return Math.max( Math.max( a, b ), Math.max( c, d ) );
	}
	
	static public int min ( int a, int b, int c )
	{
		return Math.min( Math.min( a, b ), c );
	}
	
	static public int min ( int a, int b, int c, int d )
	{
		return Math.min( Math.min( a, b ), Math.min( c, d ) );
	}
	
    private MathHelpers () { }; // Don't instantiate
}
